QT       += core gui
QT       += core gui sql charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = 06_Admin_face_final
TEMPLATE = app
CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
QT += charts
SOURCES += \
    main.cpp \
    admin_log_in.cpp \
    maininterface.cpp \
    record.cpp \
    showrecord.cpp \
    src/bif.cpp \
    src/eigen_faces.cpp \
    src/face_alignment.cpp \
    src/face_basic.cpp \
    src/facemark.cpp \
    src/facemarkAAM.cpp \
    src/facemarkLBF.cpp \
    src/facerec.cpp \
    src/fisher_faces.cpp \
    src/getlandmarks.cpp \
    src/lbph_faces.cpp \
    src/mace.cpp \
    src/predict_collector.cpp \
    src/regtree.cpp \
    src/trainFacemark.cpp \
    stu_infor_manage.cpp \
    stu_sign_in.cpp \
    trainthread.cpp

HEADERS += \
    admin_log_in.h \
    face.hpp \
    face/bif.hpp \
    face/face_alignment.hpp \
    face/facemark.hpp \
    face/facemarkAAM.hpp \
    face/facemarkLBF.hpp \
    face/facemark_train.hpp \
    face/facerec.hpp \
    face/mace.hpp \
    face/predict_collector.hpp \
    maininterface.h \
    record.h \
    showrecord.h \
    src/face_alignmentimpl.hpp \
    src/face_utils.hpp \
    src/precomp.hpp \
    stu_infor_manage.h \
    stu_sign_in.h \
    trainthread.h

FORMS += \
    admin_log_in.ui \
    maininterface.ui \
    record.ui \
    showrecord.ui \
    stu_infor_manage.ui \
    stu_sign_in.ui

INCLUDEPATH += F:\opencv4.3.0\opencv\build\include
               F:\opencv4.3.0\opencv\build\include\opencv2
 LIBS += -LF:\opencv4.3.0\opencv\build\x64\vc15\lib

LIBS += -lopencv_world430d

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    image.qrc
